package com.anolesoft.yr.store.stk.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import com.anolesoft.yr.store.stk.dao.StkStructureDao;
import com.anolesoft.yr.store.stk.entity.StkStructureExample;
import com.anolesoft.yr.store.stk.entity.StkStructure;
import com.anolesoft.yr.store.stk.service.StkStructureService;

@Service
public class StkStructureServiceImpl extends ServiceImpl<StkStructureDao, StkStructure> implements StkStructureService {

    @Override
    public long countByExample(StkStructureExample example) {
        return baseMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(StkStructureExample example) {
        return baseMapper.deleteByExample(example);
    }

    @Override
    public List<StkStructure> selectByExample(StkStructureExample example) {
        return baseMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(StkStructure record, StkStructureExample example) {
        return baseMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(StkStructure record, StkStructureExample example) {
        return baseMapper.updateByExample(record, example);
    }

    @Override
    public int updateBatch(List<StkStructure> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<StkStructure> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(StkStructure record) {
        return baseMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(StkStructure record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
